// PrimaryResourceHandleSet.cpp: implementation of the PrimaryResourceHandleSet class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"

#include "PrimaryResourceHandleSet.h"
extern HINSTANCE g_res_hd;


//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
HINSTANCE  GetAppResInstance();

PrimaryResourceHandleSet::PrimaryResourceHandleSet()
{
	m_h1=AfxGetResourceHandle();
	HINSTANCE h0 = g_res_hd;
	AfxSetResourceHandle(h0);
}

PrimaryResourceHandleSet::~PrimaryResourceHandleSet()
{
	AfxSetResourceHandle(m_h1);
}
